DeliciousBrains\WP_Offload_Media\Items\Media_Library_Item C

Total Complexity 104
Dependencies 2
Dependents 13
Total lines 829
Lines of code 410
Logical lines of code 196
Comment lines 277
Methods 25
Properties 6

Methods 25

Method Rating Maintainability Complexity Lines of code
create_from_source_id()
A
39 11 73
get_attachment_folder_year_month()
A
51 10 27
get_local_url()
A
50 9 27
get_missing_source_ids()
A
47 7 38
__construct()
S
53 7 21
_legacy_provider_info_to_item()
S
54 6 21
_legacy_get_attachment_provider_info()
S
56 6 17
key()
S
59 6 15
update_filesize_after_download_local()
S
58 6 15
offload_duplicate_items()
S
47 3 42
get_filesize()
S
62 5 11
update_filesize_after_remove_local()
S
64 4 9
remove_duplicate_paths()
S
60 3 12
_legacy_get_provider_object_region()
S
63 3 11
get_folder_time_from_url()
S
64 3 10
item_data_for_acl_filter()
S
63 3 10
get_by_source_id()
S
64 3 10
duplicate_filesize_total()
S
70 2 6
get_item_counts()
S
60 1 13
admin_link()
S
70 1 6
get_acl_for_object_key()
S
75 1 4
get_object_key_from_filename()
S
79 1 3
transient_key_for_item_counts()
S
78 1 3
full_source_paths()
S
78 1 3
get_item_time()
S
81 1 3